package cn.zeng.dto;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 体力活动分析
 *
 * @author zyb
 */
@Data
public class PhysicalActivityAnalysis {
    private String image= "u4736.png";
    /**
     * 重体力活
     */
    private String heavyPhysicalActivity = "1分钟";
    private String mediumStrengthActivity = "2分钟";
    private String lightweightActivity = "3分钟";

    private Double bmi = 12.;
    private Integer weight = 40;
    private String recommendedWeight = "12~123";


    public Map<String, Object> toMap() {
        Map<String, Object> map = new HashMap<>(7);
        map.put("PhysicalActivityAnalysis_image", image);
        map.put("PhysicalActivityAnalysis_heavyPhysicalActivity", heavyPhysicalActivity);
        map.put("PhysicalActivityAnalysis_mediumStrengthActivity", mediumStrengthActivity);
        map.put("PhysicalActivityAnalysis_lightweightActivity", lightweightActivity);
        map.put("PhysicalActivityAnalysis_bmi", bmi);
        map.put("PhysicalActivityAnalysis_weight", weight);
        map.put("PhysicalActivityAnalysis_recommendedWeight", recommendedWeight);
        return map;
    }

}
